package com.chinags.system.testingfacility.domain;

import com.chinags.common.annotation.Excel;
import com.chinags.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 检测机构检测资质表 t_jc_jcjg_zz
 * 
 * @author liut
 * @date 2019-06-20
 */
public class TJcJcjgZz extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long jcjgZzId;
	/** 监测机构id */
	@Excel(name = "信用代码")
	private String jcjgId;
	/** 监测机构名称 */
	@Excel(name = "检测机构")
	private String agencyName;
	/** 资质等级 */
	@Excel(name = "资质等级")
	private String qualification;
	/** 资质编号 */
	@Excel(name = "资质编号")
	private String lssuingNumber;
	/** 发证单位 */
	private String lssuingUnit;
	/** 资质有效期起 */
	@Excel(name = "资质有效期起")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date periodStart;
	/** 资质有效期止 */
	@Excel(name = "资质有效期止")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date periodEnd;
	/** 资质有效期起 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date startTime;
	/** 资质有效期止 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date endTime;
	/** 备注 */
	private String remarks;
	/** 操作人 */
	private String updateUser;
	/** 创建人 */
	private String createUser;

	public void setJcjgZzId(Long jcjgZzId) 
	{
		this.jcjgZzId = jcjgZzId;
	}

	public Long getJcjgZzId() 
	{
		return jcjgZzId;
	}
	public void setJcjgId(String jcjgId)
	{
		this.jcjgId = jcjgId;
	}

	public String getJcjgId()
	{
		return jcjgId;
	}
	public void setQualification(String qualification) 
	{
		this.qualification = qualification;
	}

	public String getQualification() 
	{
		return qualification;
	}
	public void setLssuingNumber(String lssuingNumber) 
	{
		this.lssuingNumber = lssuingNumber;
	}

	public String getLssuingNumber() 
	{
		return lssuingNumber;
	}
	public void setLssuingUnit(String lssuingUnit) 
	{
		this.lssuingUnit = lssuingUnit;
	}

	public String getLssuingUnit() 
	{
		return lssuingUnit;
	}
	public void setPeriodStart(Date periodStart) 
	{
		this.periodStart = periodStart;
	}

	public Date getPeriodStart() 
	{
		return periodStart;
	}
	public void setPeriodEnd(Date periodEnd) 
	{
		this.periodEnd = periodEnd;
	}

	public Date getPeriodEnd() 
	{
		return periodEnd;
	}
	public void setRemarks(String remarks) 
	{
		this.remarks = remarks;
	}

	public String getRemarks() 
	{
		return remarks;
	}
	public void setUpdateUser(String updateUser) 
	{
		this.updateUser = updateUser;
	}

	public String getUpdateUser() 
	{
		return updateUser;
	}
	public void setCreateUser(String createUser) 
	{
		this.createUser = createUser;
	}

	public String getCreateUser() 
	{
		return createUser;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jcjgZzId", getJcjgZzId())
            .append("jcjgId", getJcjgId())
            .append("agencyName", getAgencyName())
            .append("qualification", getQualification())
            .append("lssuingNumber", getLssuingNumber())
            .append("lssuingUnit", getLssuingUnit())
            .append("periodStart", getPeriodStart())
            .append("periodEnd", getPeriodEnd())
			.append("startTime", getStartTime())
			.append("endTime", getEndTime())
            .append("remarks", getRemarks())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .toString();
    }

	public String getAgencyName() {
		return agencyName;
	}

	public void setAgencyName(String agencyName) {
		this.agencyName = agencyName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
}
